<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
  <!-- Tell the browser to be responsive to screen width -->
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <!-- Bootstrap 3.3.6 -->
  <link rel="stylesheet" href="/static/adminlte/bootstrap/css/bootstrap.min.css">
  <!-- Font Awesome -->
  <link rel="stylesheet" href="/static/css/font-awesome.min.css">
  <!-- Ionicons -->
  <link rel="stylesheet" type="text/css" href="/static/css/ionicons.min.css" />
  <!-- Theme style -->
  <link rel="stylesheet" href="/static/adminlte/dist/css/AdminLTE.min.css">
		<title></title>
	</head>
	<body>

<section class="content">
      <div class="row">
		<div class="col-xs-12">
		          <div class="nav-tabs-custom">
		            <ul class="nav nav-tabs">
		              <li class="active"><a href="#menu" data-toggle="tab" aria-expanded="true">站点配置</a></li>
		            </ul>
		            <div class="tab-content">
		              <div class="tab-pane active" id="menu">      
			                
						
						
						
				<form action="{{ route('admin.config.siteconfig') }}" method="post" class="form-horizontal myform">
                    <div class="box-body">
                        <div class="form-group">
                            <label class="col-sm-2 control-label">店铺名称</label>

                            <div class="col-sm-10">
                                <input class="form-control" name="shop_name" placeholder="" value="{{ $list['shop_name'] }}" type="text">
                            </div>
                        </div>


                        <div class="form-group">
                            <label class="col-sm-2 control-label">微信支付</label>

                            <div class="col-sm-10">
                                <label class="radio-inline"><input name="wx_pay" type="radio" {{ $list['wx_pay']==1 ? 'checked="checked"' : '' }} value="1"><span>开启</span></label>
                                <label class="radio-inline"><input name="wx_pay" type="radio" {{ $list['wx_pay']==0 ? 'checked="checked"' : '' }} value="0"><span>关闭</span></label>
                            </div>
                        </div>
      
                        <div class="form-group">
                            <label class="col-sm-2 control-label">货到付款</label>

                            <div class="col-sm-10">
                                <label class="radio-inline"><input name="is_cod" type="radio" {{ $list['is_cod']==1 ? 'checked="checked"' : '' }} value="1"><span>开启</span></label>
                                <label class="radio-inline"><input name="is_cod" type="radio" {{ $list['is_cod']==0 ? 'checked="checked"' : '' }} value="0"><span>关闭</span></label>
                            </div>
                        </div>
                        
   
                        <div class="form-group">
                            <label class="col-sm-2 control-label">商城公告</label>

                            <div class="col-sm-10">
                                <textarea class="form-control" name="shop_notice" rows="3">{{ $list['shop_notice'] }}</textarea>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">营业时间</label>

                            <div class="col-sm-10">
                                <input class="form-control" name="shop_hours" type="text" value="{{ $list['shop_hours'] }}" placeholder="">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">地址</label>

                            <div class="col-sm-10">
                                <input class="form-control" name="address" type="text" value="{{ $list['address'] }}" placeholder="">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">电话</label>

                            <div class="col-sm-10">
                                <input class="form-control" name="phone" type="text" value="{{ $list['phone'] }}" placeholder="">
                            </div>
                        </div>                          
                        <div class="form-group">
                            <label class="col-sm-2 control-label">起送价格</label>

                            <div class="col-sm-10">
                                <input class="form-control" name="offer_price" type="text" value="{{ $list['offer_price'] }}" placeholder="">
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-sm-2 control-label">运费</label>

                            <div class="col-sm-4">
                                <input class="form-control" name="freight" type="text" value="{{ $list['freight'] }}" placeholder="">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-2 control-label">配送区域</label>

                            <div class="col-sm-10">
                                <textarea class="form-control" name="shipping_area" rows="3">{{ $list['shipping_area'] }}</textarea>
                            </div>
                        </div>
                    </div>
                    <!-- /.box-body -->

                    <div class="box-footer">
                        <div class="col-sm-2">
                        	<input type="hidden" name="_token" value="{{csrf_token()}}">
                            <button type="submit" class="btn btn-block btn-danger">保存</button>
                        </div>
                    </div>
                </form>						


		              </div>
		              
		            </div><!-- /.tab-content -->
		          </div><!-- /.nav-tabs-custom -->
		</div><!--/.row-->
      </div>
  </section>
<!-- jQuery 2.2.3 -->
<script src="/static/adminlte/plugins/jQuery/jquery-2.2.3.min.js"></script>
<script src="/static/layer/layer.js"></script>
<!-- Bootstrap 3.3.6 -->
<script src="/static/adminlte/bootstrap/js/bootstrap.min.js"></script>
<script src="/static/js/admin.js?123"></script>
	</body>
</html>
